* {
    margin: 0px;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid grey;
}

#envio {
    background-color: #703119;
    color: white;
    text-align: center;
    padding: 5px 0px;
}

#sub_header {
    display: grid;
    grid-template-columns: 1fr 4fr 1fr;
    justify-items: center;
    align-items: center;
    max-width: 1140px;
    border-bottom: 1.2px solid #703119;
}

#sub_header div {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav {
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    padding: 0px;
    justify-content: space-between;
    list-style: none;
    gap: 10px;
}

nav ul li a {
    text-decoration: none;
    color: #703119;
}

nav ul li a:hover {
    padding-bottom: 6px;
    border-bottom: 2.5px solid #703119;
}


@media screen and (max-width: 600px) {
    nav {
        display: none;
    }

    #tarjetero {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

#cabecera_joyas {
    flex-direction: column;
    justify-items: center;
    margin-top: 3rem;
}

#cabecera_joyas h1 {
    color: orange;
    font-size: 2em;
    font-weight: normal;
}

#cabecera_joyas ul {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin-top: 1.5rem;
}

#cabecera_joyas ul a {
    color: black;
}

#cabecera_joyas p{
    color: #703119;
    margin-top: 1rem;
}

.tarjeta {
    width: 20vw;
    height: 50vh;
    border: 1px solid black;
    gap:10px;
    margin-bottom: 2rem;
}

.tarjeta div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.5s ease;
    opacity: 1;
}


.tarjeta p {
    font-size: 0.8em;
}

.tarjeta p a {
    text-decoration: none;
    color: black;
}

.tarjeta p:last-child {
    color: gray;
}

.tarjeta div {
    
    background-position: center;
    background-size: cover;
    height: 80%;
}


#tarjetero {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}



.tarjeta:nth-child(1) div {
   background: white;

}

.tarjeta:nth-child(2) div {
    background: white;
}

.tarjeta:nth-child(3) div {
   background: white;
   }

.tarjeta:nth-child(4) div {
    background: white;
}

.tarjeta:nth-child(5) div {
   background: white;
}

.tarjeta:nth-child(6) div {
    background: white;
    }

.tarjeta:nth-child(7) div {
    background: white;
}

.tarjeta:nth-child(8) div {
    background: white;
}

.tarjeta .imagen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tarjeta .imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tarjeta .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10%;
  background-color: rgba(255, 255, 255, 0.7);
  color: #703119;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tarjeta .imagen:hover .overlay {
  opacity: 1;
}

.tarjeta .imagen:hover img {
  transform: scale(1.05);
}

/* pie de pagina */
footer {
    
    padding: 40px 20px;
    font-family: sans-serif;
    margin: 1rem 4rem ;
   
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;    
}

.footer-column {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    margin-right: 12px;
}

.footer-column .logo img {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.footer-column p {
    color: #713118;
    text-align: justify;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 20px;
}

.payment-methods img {
    width: 40px;
    height: auto;
    margin: 2px;
}

.footer-column h6 {
    font-size: 1rem;
    color: #703119;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}


.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #703119;
}

.footer-column ul p {
    color: #000;
}

.informacion {
    color: #703119;
    display: flex;
    flex-direction: column;
}

.flex{
    display: flex;
    gap: 10px;
}








